home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
Ubuntu 9.10 PL
/
karmelkowy-koliberek-desktop-9.10-i386-PL.iso
/
casper
/
filesystem.squashfs
/
usr
/
share
/
initramfs-tools
/
hooks
/
thermal
< prev
next >
Wrap
Text File
|
2009-03-31
|
853b
|
47 lines
#!/bin/sh
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
# Hooks for loading thermal bits into the initramfs
. /usr/share/initramfs-tools/hook-functions
case "$DPKG_ARCH" in
# copy the right modules
powerpc|ppc64)
# Add thermal control of Macintosh if the system is not a PS3
if [ ! -e /sys/bus/ps3_system_bus/ ]; then
force_load therm_pm72
force_load windfarm_core
force_load windfarm_cpufreq_clamp
force_load windfarm_lm75_sensor
force_load windfarm_max6690_sensor
force_load windfarm_pid
force_load windfarm_pm112
force_load windfarm_pm81
force_load windfarm_pm91
force_load windfarm_smu_controls
force_load windfarm_smu_sat
force_load windfarm_smu_sensors
force_load i2c-powermac
fi
;;
i386|amd64|ia64|lpia)
force_load fan
force_load thermal
;;
esac